package com.fushenlan.epidemicControl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fushenlan.po.NeighborhoodInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author Administrator
 * @date 2022/4/23 20:32
 */
@Mapper
public interface NeighborhoodInfoMapper extends BaseMapper<NeighborhoodInfoDO> {

    /**
     * 根据居民id查询居委信息
     * @param inhabitantId 居民id
     * @return
     */
    Map<String,Object> selectByInhabitantId(@Param("inhabitantId") Long inhabitantId);
}
